<?php 

    /**
     * 
     */
    class Home_model extends CI_Model {
        
        function __construct() {
            parent::__construct();
        }
        
        function get(){
          $res = $this->solr->select()
                    ->from('admin')
                    ->where('active', 'yes')
                    ->order_by('id', 'ASC')
                    ->limit(10);
                    
                 
                $arrSolr = $this->solr->qAssoc();
               return $res;
        }
    }
    